﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000413 RID: 1043
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EHHFHIMIKKB : IMessage<EHHFHIMIKKB>, IMessage, IEquatable<EHHFHIMIKKB>, IDeepCloneable<EHHFHIMIKKB>, IBufferMessage
	{
		// Token: 0x17000D63 RID: 3427
		// (get) Token: 0x06002EBC RID: 11964 RVA: 0x0008100D File Offset: 0x0007F20D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EHHFHIMIKKB> Parser
		{
			get
			{
				return EHHFHIMIKKB._parser;
			}
		}

		// Token: 0x17000D64 RID: 3428
		// (get) Token: 0x06002EBD RID: 11965 RVA: 0x00081014 File Offset: 0x0007F214
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EHHFHIMIKKBReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000D65 RID: 3429
		// (get) Token: 0x06002EBE RID: 11966 RVA: 0x00081026 File Offset: 0x0007F226
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EHHFHIMIKKB.Descriptor;
			}
		}

		// Token: 0x06002EBF RID: 11967 RVA: 0x0008102D File Offset: 0x0007F22D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EHHFHIMIKKB()
		{
		}

		// Token: 0x06002EC0 RID: 11968 RVA: 0x00081035 File Offset: 0x0007F235
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EHHFHIMIKKB(EHHFHIMIKKB other) : this()
		{
			this.hJHAIHFEFEN_ = other.hJHAIHFEFEN_;
			this.status_ = other.status_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002EC1 RID: 11969 RVA: 0x00081066 File Offset: 0x0007F266
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EHHFHIMIKKB Clone()
		{
			return new EHHFHIMIKKB(this);
		}

		// Token: 0x17000D66 RID: 3430
		// (get) Token: 0x06002EC2 RID: 11970 RVA: 0x0008106E File Offset: 0x0007F26E
		// (set) Token: 0x06002EC3 RID: 11971 RVA: 0x00081076 File Offset: 0x0007F276
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HJHAIHFEFEN
		{
			get
			{
				return this.hJHAIHFEFEN_;
			}
			set
			{
				this.hJHAIHFEFEN_ = value;
			}
		}

		// Token: 0x17000D67 RID: 3431
		// (get) Token: 0x06002EC4 RID: 11972 RVA: 0x0008107F File Offset: 0x0007F27F
		// (set) Token: 0x06002EC5 RID: 11973 RVA: 0x00081087 File Offset: 0x0007F287
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueExhibitionStatus Status
		{
			get
			{
				return this.status_;
			}
			set
			{
				this.status_ = value;
			}
		}

		// Token: 0x06002EC6 RID: 11974 RVA: 0x00081090 File Offset: 0x0007F290
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EHHFHIMIKKB);
		}

		// Token: 0x06002EC7 RID: 11975 RVA: 0x0008109E File Offset: 0x0007F29E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EHHFHIMIKKB other)
		{
			return other != null && (other == this || (this.HJHAIHFEFEN == other.HJHAIHFEFEN && this.Status == other.Status && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002EC8 RID: 11976 RVA: 0x000810DC File Offset: 0x0007F2DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.HJHAIHFEFEN != 0U)
			{
				num ^= this.HJHAIHFEFEN.GetHashCode();
			}
			if (this.Status != RogueExhibitionStatus.RogueExhibitionNone)
			{
				num ^= this.Status.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002EC9 RID: 11977 RVA: 0x0008113A File Offset: 0x0007F33A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002ECA RID: 11978 RVA: 0x00081142 File Offset: 0x0007F342
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002ECB RID: 11979 RVA: 0x0008114C File Offset: 0x0007F34C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.HJHAIHFEFEN != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.HJHAIHFEFEN);
			}
			if (this.Status != RogueExhibitionStatus.RogueExhibitionNone)
			{
				output.WriteRawTag(120);
				output.WriteEnum((int)this.Status);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002ECC RID: 11980 RVA: 0x000811A8 File Offset: 0x0007F3A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.HJHAIHFEFEN != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HJHAIHFEFEN);
			}
			if (this.Status != RogueExhibitionStatus.RogueExhibitionNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Status);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002ECD RID: 11981 RVA: 0x00081200 File Offset: 0x0007F400
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EHHFHIMIKKB other)
		{
			if (other == null)
			{
				return;
			}
			if (other.HJHAIHFEFEN != 0U)
			{
				this.HJHAIHFEFEN = other.HJHAIHFEFEN;
			}
			if (other.Status != RogueExhibitionStatus.RogueExhibitionNone)
			{
				this.Status = other.Status;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002ECE RID: 11982 RVA: 0x00081250 File Offset: 0x0007F450
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002ECF RID: 11983 RVA: 0x0008125C File Offset: 0x0007F45C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Status = (RogueExhibitionStatus)input.ReadEnum();
					}
				}
				else
				{
					this.HJHAIHFEFEN = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001270 RID: 4720
		private static readonly MessageParser<EHHFHIMIKKB> _parser = new MessageParser<EHHFHIMIKKB>(() => new EHHFHIMIKKB());

		// Token: 0x04001271 RID: 4721
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001272 RID: 4722
		public const int HJHAIHFEFENFieldNumber = 5;

		// Token: 0x04001273 RID: 4723
		private uint hJHAIHFEFEN_;

		// Token: 0x04001274 RID: 4724
		public const int StatusFieldNumber = 15;

		// Token: 0x04001275 RID: 4725
		private RogueExhibitionStatus status_;
	}
}
